<include file="Public:header" />
<div class="headbar">
    <div class="position"><span>促销</span><span>></span><span>促销活动</span><span>></span><span>{$name}中奖纪录</span></div>
    <div class="operating">
        <a href="{:U('Game/prize_list',array('type_id'=>$type_id))}"><button class="operating_btn" type="button" ><span class="grade">中奖纪录</span></button></a>
        <a href="{:U('Game/prize_no_list',array('type_id'=>$type_id))}"><button class="operating_btn" type="button"><span class="common">未中奖纪录</span></button></a>
    </div>
</div>

<div class="content">
    <table id="list_table" class="list_table">
        <colgroup>
            <col width="30px" />
            <col width="80px" />
            <col width="150px" />
            <col width="50px" />
            <col width="200px" />
            <col width="260px" />
            <col width="200px" />
            <col width="100px" />
            <col width="150px" />
        </colgroup>

        <thead>
            <tr>
                <th>ID</th>
                <th>CODE</th>
                <th>活动名称</th>
                <th>是否中奖</th>
                <th>奖励</th>
                <th>领奖人</th>
                <th>抽奖时间</th>
                <th>是否领奖</th>
                <th>操作</th>
            </tr>
        </thead>

        <tbody>
            <foreach name='list' item='item' key='key'>
            <tr>
                <td>{$item['id']}</td>
                <td>{$item['code']}({$item['codeid']})</td>
                <td>{$item['title']}</td>
                <td><if condition="$item['prize_id'] eq 0">否<else/>是</if></td>
                <td>{$item['prize_grade']}/{$item['prize_name']}</td>
                <td><if condition="$item['name']">姓名：{$item['name']}</if><if condition="$item['mobile']">电话：{$item['mobile']}</if><if condition="$item['addr']">地址：{$item['addr']}</if></td>
                <td>{$item['time']}</td>
                <td><if condition="$item['status'] eq 0">否<else/>是</if></td>
                <td>
                <if condition="$item['status'] eq 0"><a href="{:U('Game/prize_edit', array('id' => $item[id]))}"><img class="operator" src="__PUBLIC__/Partner/images/admin/.gif" alt="领奖" /></a></if>
                </td>
            </tr>
            </foreach>
        </tbody>
    </table>
    {$page}
</div>
<include file="Public:footer" />